import { IPageParams } from './index.ts'

/**
 * 用户信息
 */
export interface IUserInfo {
  createId: number
  deptId: string
  deptName: string
  job: string
  mobile: string
  role: number
  roleList: string
  state: number
  userEmail: string
  userId: number
  userImg: string
  userName: string
  _id: string
}
/**
 * 获取用户列表参数
 */
export interface IGetUsersListParams extends IPageParams {
  userId?: number
  userName?: string
  state?: number
}

/**
 * 用户列表item
 */
export interface IUserItem {
  _id?: string
  createId: number
  createTime: string
  deptId: string
  deptName: string
  job: string
  lastLoginTime: string
  mobile: string
  role: number
  roleList: string
  state: number
  userEmail: string
  userId: number
  userImg: string
  userName: string
}
